package com.ace.user.common.constant;


/**
 * 系统常量
 *
 * @Author yudong
 * @Date 2018年07月04日 下午5:35
 */
public interface C {

    /**
     * redis键值失效时间
     */
    Long REDIS_EXPIRE_TIME = 72000L;

    /**
     * 数字常量
     */
    int N_0 = 0;
    int N_1 = 1;
    int N_2 = 2;
    int N_10 = 10;
    int N_N_1 = -1;
    /**
     * 通用编码常量
     */
    int T_C_0 = 1000;
    int T_C_1 = 1001;
    int T_C_2 = 1002;
    int T_C_3 = 1003;
    int T_C_4 = 1004;
    int T_C_5 = 1005;
    int T_C_6 = 1006;
    int T_C_7 = 1007;
    int T_C_8 = 1008;
    int T_C_9 = 1009;
    int T_C_10 = 1010;
    int T_C_11 = 1011;
    int T_C_12 = 1012;
    int T_C_13 = 1013;
    int T_C_14 = 1014;

    /**
     * Token编码常量
     */
    int T_0 = 2100;
    int T_1 = 2101;
    int T_2 = 2102;
    int T_3 = 2103;


    /**
     * 用户编码常量
     */
    int U_0 = 2000;
    int U_1 = 2001;
    int U_2 = 2002;
    int U_3 = 2003;
    int U_4 = 2004;
    int U_5 = 2005;
    int U_6 = 2006;
    int U_7 = 2007;
    int U_8 = 2008;
    int U_9 = 2009;
    int U_10 = 2010;
    int U_11 = 2011;
    int U_12 = 2012;
    int U_13 = 2013;
    int U_14 = 2014;
    int U_15 = 2015;
    int U_16 = 2016;
    int U_17 = 2017;
    int U_18 = 2018;
    int U_19 = 2019;
    int U_20 = 2020;
    int U_21 = 2021;
    int U_22 = 2022;
    int U_23 = 2023;
    int U_24 = 2024;
    int U_25 = 2025;
    int U_26 = 2026;
    int U_27 = 2027;
    int U_28 = 2028;
    int U_29 = 2029;
    int U_30 = 2030;
    int F_3 = 2603;

    /**
     * 字符串常量
     */
    String S = "",
    /**
     * 默认每页条数
     */
    SIZE_DEFALUT = "10",
    /**
     * 默认页码
     */
    INDEX_DEFAULT = "1",
            EMAIL = "email",
            MOBILE = "mobile",
            ID = "id",
            FREE = "free",
    /**
     * 遗愿上线消息
     */
    ONLINE = "online",
    /**
     * 遗愿下线消息
     */
    OFFLINE = "offline",
    /**
     * 遗愿断开连接消息处理
     */
    DISCONNECT = "disconnect";


    /**
     * 日志id
     */
    String TRACE_LOG_ID = "TRACE_LOG_ID";
    /**
     * 方法开始时间(用来计算方法执行时间)
     */
    String METHOD_START_TIME = "METHOD_START_TIME";

}
